import json
from Cookie import RedisClient
import requests

with open('1.html', 'r') as f:
    content = f.read()
with open('2.html', 'a') as f:
    f.write((json.dumps(content)))